﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Ms;
using VisionCloud.Domain.DtoModel.Applet.RequestDto;
using VisionCloud.Domain.DtoModel.Applet.ResponseDto;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IMsUserToProjectRepository : IBaseRepository<MsUserToProject>
    {
        Task<Dictionary<Guid, string>> GetRefUserPhonesByProjId(Guid projId);

        /// <summary>
        /// 模糊查询特定城市和用户相关的项目位置信息
        /// </summary>
        Task<List<ProjectLocationDto>> QueryProjectLocations(QueryProjectLocationDto query, Guid userId);
    }
}